
    function save() {
        $("#personMsg").form('submit', {
            url: "/employee/update",

            success: function(data){
                data = $.parseJSON(data);
                var updateSuccess = data.success;
                if(updateSuccess){
                    $.messager.alert('Warning','修改成功');
                    window.location.href="/employee/personalMessage";
                }else{
                    $.messager.alert('Warning','修改失败');
                }

            }

        })
    }




